import 'package:flutter/material.dart';
import 'routes/Routes.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      debugShowCheckedModeBanner: true, //去掉debug字样
      // home: Tabs(),
      initialRoute: '/', //初始化路由
      //命名路由
      onGenerateRoute: onGenerateRoute,
    );
  }
}
